﻿
namespace LDSCore.Result
{
    /// <summary>
    /// 操作结果码
    /// 成功 1XXX
    /// 数据错误 3XXX
    /// </summary>
    public enum ResultCode
    {
        /// <summary>
        /// 登陆成功
        /// </summary>
        LoginSucess = 1001,

        /// <summary>
        /// 密码修改成功
        /// </summary>
        ModifyPwdSucess = 1002,

        /// <summary>
        /// 添加用户成功
        /// </summary>
        AddUserSucess = 1003,

        /// <summary>
        /// 重置密码成功
        /// </summary>
        ResetPwdSucess = 1004,

        /// <summary>
        /// 设为管理员
        /// </summary>
        SetToManagerSuccess = 1005,

        /// <summary>
        /// 设为普通用户
        /// </summary>
        SetToUserSuccess = 1006,

        /// <summary>
        /// 删除用户成功
        /// </summary>
        DeleteUserSucess = 1007,

        /// <summary>
        /// 用户名错误
        /// </summary>
        ErrorUserName = 3001,

        /// <summary>
        /// 密码错误
        /// </summary>
        ErrorPassword = 3002,

        /// <summary>
        /// 用户名已存在
        /// </summary>
        ExistUserName = 3003,
    }
}
